Holds data about a decoded mesh. More...
Public Member Functions | |
DecodedMeshData () | |
DecodedMeshData (const DecodedMeshData &other) | |
DecodedMeshData (DecodedMeshData &&other) | |
~DecodedMeshData () | |
DecodedMeshData & | operator= (const DecodedMeshData &other) |
DecodedMeshData & | operator= (DecodedMeshData &&other) |
Public Attributes | |
nkMemory::BufferCast< nkMemory::Buffer > | _vertexBuffers |
List of vertex buffers, binary packed. | |
nkMemory::Buffer | _indexBuffer |
The index buffer, if available. | |
MeshInputLayout | _inputLayout |
The input layout describing the vertex data. | |
unsigned int | _vertexCount = 0u |
The number of vertices available. | |
unsigned int | _indexCount = 0u |
The number of indices available. | |
INDEX_FORMAT | _indexFormat = nkGraphics::INDEX_FORMAT::UINT32 |
The indices format in memory. | |
Holds data about a decoded mesh.
nkGraphics::DecodedMeshData::DecodedMeshData | ( | ) |
Default constructor.
nkGraphics::DecodedMeshData::DecodedMeshData | ( | const DecodedMeshData & | other | ) |
Copy constructor.
other | The data to copy from. |
nkGraphics::DecodedMeshData::DecodedMeshData | ( | DecodedMeshData && | other | ) |
Move constructor.
other | The data to move over. |
nkGraphics::DecodedMeshData::~DecodedMeshData | ( | ) |
Destructor.
DecodedMeshData& nkGraphics::DecodedMeshData::operator= | ( | const DecodedMeshData & | other | ) |
Assignment copy operator.
other | The data to copy from. |
DecodedMeshData& nkGraphics::DecodedMeshData::operator= | ( | DecodedMeshData && | other | ) |
Assignment move operator.
other | The data to move over. |